@charset "utf-8";
/**
 * Created by kroyo on 2018/02/06.
 * 案例详情
 */


@import 'common/mixincommon';


body{
    background-color: $f2;
}



.main-header{
    width: 100%;
    height: r(110px);
    background-color: $f2;
    padding-top: r(20px);
    .tab-wrapper{
        width: r(400px);
        height: r(70px);
        line-height: r(68px);
        border: 1px solid $acolor;
        @include borradius(r(4px));
        margin: auto;
        font-size: 0;
        vertical-align: middle;
    }
    .tab{
        display: inline-block;
        width: 50%;
        font-size: r(30px);
        color: $acolor;
        text-align: center;
        //标记选中
        &.active{
            background-color: $acolor;
            color: $sf;
        }
    }
}




.case-header{
    width: 100%;
    height: r(100px);
    line-height: r(100px);
    padding: 0 !important;
    font-size: 0;
    text-align: center;
    .tab{
        position: relative;
        display: inline-block;
        width: 50%;
        font-size: r(28px);
        text-align: center;
        &:before{
            position: absolute;
            left: 0;
            bottom: 0;
            display: block;
            content: '';
            width: 100%;
            height: r(2px);
            background-color: $acolor;
            transform-origin: center;
            transform: scale(0,1);
            @include transitions(.4s);
        }
        &.active{
            color: $acolor;
            &:before{
                transform: scale(1,1);
            }
        }
    }
    .tab:first-of-type:after{
        position: absolute;
        top: r(35px);
        right: 0;
        display: block;
        content: '';
        width: 1px;
        height: r(30px);
        background-color: $sc;
    }
}
.case-content{
    padding-top: r(40px);
    padding-bottom: r(40px);
}
.case-info{
    display: none;
    td{
        border: 1px solid $borcolor;
    }
    table{
        width: 100%;
        font-size: r(26px);
    }
    tr{
        height: r(80px);
    }
    .tlabel{
        width: r(160px);
        color: $s3;
        text-align: center;
    }
    .text{
        padding: r(20px);
        color: $s6;
    }
}
.case-image{
    overflow: hidden;
    img{
        max-width: 100%;
        height: auto;
        max-height: 100%;
        margin-bottom: r(20px);
        vertical-align: middle;
    }
}


//公司详情跳转
.case-company{
    height: r(120px);
    margin-top: r(20px);
    margin-bottom: r(20px);
    font-size: 0;
    padding: 0 !important;
    a{
        display: block;
        padding: r(20px);
    }
    .company-logo{
        display: table-cell;
        width: r(80px);
        height: r(80px);
        border: r(1px) solid $borcolor;
        @include borradius(50%);
        overflow: hidden;
        text-align: center;
        vertical-align: middle;
        img{
            width: 100%;
            vertical-align: middle;
        }
    }
    .company-name{
        display: table-cell;
        width: r(600px);
        font-size: r(30px);
        color: $s3;
        vertical-align: middle;
        padding-left: r(20px);
        padding-right: r(20px);
        @include textoverflow;
    }
    .right{
        display: table-cell;
        width: r(20px);
        height: r(36px);
        background: url(../img/case/icon-rihgt.png) no-repeat center;
        background-size: 100%;
    }
}





